<head>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js">
    </script>
</head>
<body>
    <script>
        $.get("http://39.105.110.142:3000/agent",function(data,status){
            if(data == 'b'){
                let b = document.getElementsByTagName('body')[0]
                b.innerHTML= "<img src = 'http://39.105.110.142:3000/code?text=wechat'>"
            }else if(data == 'a'){
                location.href='alipay'
            }
        });
    </script>
</body>